﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace AdminCondominio.Dominio
{
    public class Cuota
    {

        public int CoCuota { get; set; }

        [Required(ErrorMessage = "La vivienda es obligatoria")]
        //[StringLength(8, ErrorMessage = "Máximo 8 caracteres")]        
        public Vivienda Vivienda { get; set; }

        [Required(ErrorMessage = "Ingrese el Periodo")]
        public string TxPeriodo { get; set; }

        [Required(ErrorMessage = "Ingrese el Importe")]
        public decimal Importe { get; set; }

        public DateTime FeVencimiento { get; set; }

        public string Estado { get; set; }

        public TipoPago TipoPago { get; set; }

        public DateTime? FecPago { get; set; }

        public string mensaje { get; set; }


        //[Required]
        //[DisplayName("Data Udienza")]
        //[DataType(DataType.Date)]
        //[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        //public DateTime DataUdienza { get; set; }

                       

    }
}